package com.ff.sms.engine.mapper;


import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

/**
 * 共用基础mapper
 */
public interface BaseMapper<T extends Serializable> {

    int deleteByPrimaryKey(@Param("id") Object pkId);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(@Param("id") Object pkId);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
}
